package yyj;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;
import yyj.controller.UserController;
import yyj.service.UserServicempl;

public class Main {
    public static void main(String[] args) {
        ApplicationContext context = new ClassPathXmlApplicationContext("./yyj/resource/application-context.xml");
        UserController userController =  context.getBean(UserController.class);
        UserServicempl ce = userController.getUserServicempl();
        ce.say("uuuiiilll");

    }
}
